﻿<!DOCTYPE>

<html>

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
  <title>预有限产能排产平台</title>
  <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
  <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
  <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
  <link rel="stylesheet" href="/InSiteWebApplication/Content/webuploader/webuploader.css" />
  <style type="text/css">
    .webuploader-pick {
      padding: 0px 0px;
      border-radius: 0px
    }

    #dvApsPool .datagrid-cell {
      white-space: normal;
      word-wrap: break-word;
      word-break: break-all;
    }
  </style>
</head>

<body>
  <div class="panelSection">
    <div class="easyui-panel " title="搜索区域" style="padding:3px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div>
        <div style="float: left">
          <div class="divLabel" style="margin-bottom: 5px; ">
            分厂：</div>
          <input id="factoryID" class="easyui-textbox" name="factoryID" type="text" data-options=""
            style="width: 115px; height: 22px" />
        </div>

        <div style="float: left;margin-left: 10px;">
          <div class="divLabel" style="margin-bottom: 5px;">中心：</div>
          <input id="workcenterid" class="easyui-textbox" name="factoryID" type="text" data-options=""
            style="width: 115px; height: 22px" />
        </div>

        <div style="float: left;margin-left: 10px;">
          <div class="divLabel" style="margin-bottom: 5px;">件号主制单元：</div>
          <input id="teamid" class="easyui-textbox" name="factoryID" type="text" data-options=""
            style="width: 115px; height: 22px" />
        </div>

        <div style="float: left;margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px; ">
            订单号：</div>
          <input id="txtMfgorderName" class="easyui-textbox" name="ProductNo" type="text" data-options=""
            style="width: 105px; height: 22px" />
        </div>
        <div style="float: left; margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px">
            件号：</div>
          <input id="txtProduct" class="easyui-textbox" name="ProductNo" type="text" data-options=""
            style="width: 120px; height: 22px" />
        </div>
        <div style="float: left; margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px">
            批次号：</div>
          <input id="txtContainer" class="easyui-textbox" name="ProductNo" type="text" data-options=""
            style="width: 120px; height: 22px" />
        </div>
        <div style="float: left; margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px">
            工序：</div>
          <input id="txtStepName" class="easyui-textbox" name="StepName" type="text" data-options=""
            style="width: 80px; height: 22px" />
        </div>

        <div style="float: left;margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px; ">
            排产池：</div>
          <input id="PoolID" class="easyui-combobox" name="PoolID" type="text" style="width: 120px; height: 22px" />
        </div>

        <div style="float: left; margin-left: 20px">
          <a href="#" id="btnSearch" class="easyui-linkbutton" data-options="" style="margin-top: 16px;">
            查询</a>
        </div>
        <div style="float: left; margin-left: 20px">
          <a href="#" id="btnReset" class="easyui-linkbutton" data-options="" style="margin-top: 16px;">
            重置</a>
        </div>
        <div style="height:5px;clear: both"></div>

        <div style="float: left; margin-left: 0px">
          <div class="divLabel" style="margin-bottom: 5px">
            订单开始日期范围：</div>
          <input id="txtOrderBStartDate" type="text" class="easyui-datebox"
            style="width: 110px; height: 22px" />--<input id="txtOrderEStartDate" type="text" class="easyui-datebox"
            style="width: 110px; height: 22px" />
        </div>

        <div style="float: left; margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px">
            订单结束日期范围：</div>
          <input id="txtOrderBEndDate" type="text" class="easyui-datebox" style="width: 118px; height: 22px" />--<input
            id="txtOrderEEndDate" type="text" class="easyui-datebox" style="width: 118px; height: 22px" />
        </div>

        <div style="float: left; margin-left: 10px">
          <div class="divLabel" style="margin-bottom: 5px">
            手动指定日期范围：</div>
          <input id="txtRealSStartDate2" type="text" class="easyui-datebox"
            style="width: 110px; height: 22px" />--<input id="txtRealEStartDate2" type="text" class="easyui-datebox"
            style="width: 110px; height: 22px" />
        </div>
        <div style="clear: both"></div>
      </div>
    </div>
  </div>

  <div class="panelSection">
    <div class="easyui-panel " title="排产池" style="padding:3px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">

      <div id="dvApsPool" style="margin: 3px 0px 3px 3px">
        <table id="gdApsPool" class="easyui-datagrid" style="width: 100%; height: 350px"
          data-options="rownumbers:true,fitColumns:true,pagination:false,striped:true,checkOnSelect:false,selectOnCheck:true,singleSelect:false,pageNumber:1,pageSize:5,pageList:[5,10,20]">
        </table>
        <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            group:'paging-tail-btns',
                            id:'pageGo'
                    }]
                ">
        </div>
      </div>

    </div>
  </div>

  <div class="panelSection">
    <div class="easyui-panel " title="批次排产信息" style="padding:3px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div style="margin:3px 0 0 3px">
        <table id="gdContainerAps" class="easyui-datagrid" style="width: 100%; height: 350px"
          data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:false,pageNumber:1,pageSize:5,pageList:[5,10,20]">
        </table>
      </div>
    </div>
  </div>

  <div class="panelSection">
    <div class="easyui-panel " title="属性区域" style="padding:3px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div style="margin: 3px 0px 3px 3px">
        <div id="apsType">
          <span style="font-weight:bold;font-size:14px">排产策略：</span>

          <label>
            <input type="radio" name="apsType" value="1" />
            正排
          </label>
          <label style="margin-left:10px">
            <input type="radio" name="apsType" value="2" />
            倒排
          </label>
<!--          <label style="margin-left:10px">
            <input type="radio" name="apsType" value="3" />
            瓶颈排
          </label>-->
        </div>
      </div>
    </div>
  </div>

  <div class="panelSection">
    <div class="easyui-panel " title="操作区域" style="padding:3px;width: 100%"
      data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
      <div style="margin: 3px 0px 3px 3px">
        <div style="float:left;margin-left:-20px">
          <a href="javascript:void(0);" id="btnAddPool" class="easyui-linkbutton" data-options=""
            style=" margin-left:20px;height:24px">
            添加排产池</a>
          <a href="javascript:void(0);" id="btnRemoveApsPool" class="easyui-linkbutton" data-options=""
            style=" margin-left:20px;height:24px">
            移除排产池</a>

          <a href="javascript:void(0);" id="btnManual" class="easyui-linkbutton" data-options=""
            style="display:none;margin-left:20px;height:24px">
            保存手动指定开始日期</a>

          <a href="javascript:void(0);" id="btnCalcStepDuration" class="easyui-linkbutton" data-options=""
            style="margin-left:20px;height:24px">
            排产优先级计算</a>

          <a href="javascript:void(0);" id="btnLMAps" class="easyui-linkbutton" data-options=""
            style="margin-left:20px;height:24px">
            排产计算</a>

          <a href="javascript:void(0);" id="btnLMApsExport" class="easyui-linkbutton" data-options=""
            style="margin-left:20px;height:24px">
            排产结果导出</a>

        </div>
        <div style="float:left">
          <div id="ApsUploader" style="margin-left: 20px" class="wu-example">
            <div style="float: left">
              <input id="txtExcelFileId" type="hidden" />
              <a href="javascript:void(0);" id="btnLMApsImport" class="easyui-linkbutton" style="height:auto">排产结果导入</a>
            </div>
            <!--<button id="ctlBtn" class="easyui-linkbutton" style="float: left; margin-left: 20px;width: 80px;">开始导入</button>-->
          </div>
        </div>
        <div style="clear:both"></div>
      </div>
    </div>
  </div>

  <!--<div id="statusMessage" style="font-size: 14px; height: 40px; margin-top: 10px"></div>-->
  <div id="dg" style="display:none"></div>
  <div id="dgAnalysis" style="display:none"></div>

</body>

</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script type="text/javascript" src="/InSiteWebApplication/Content/Easyui/datagrid-groupview.js"></script>
<script type="text/javascript" src="/InSiteWebApplication/Content/webuploader/webuploader.js"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>

<!--<script src="/InSiteWebApplication/Scripts/ApsJs/TryApsLimitedCapacity.js?v=" type="text/javascript"></script>-->
<script type="text/javascript">
  document.write('<script src="/InSiteWebApplication/Scripts/ApsJs/TryApsLimitedCapacity.js?v=' + new Date().getTime() + '" type="text/javascript" ><\/script>');
</script>